postOnAnimationDelayed
open fun postOnAnimationDelayed(@NonNull view: View, @NonNull action: Runnable, delayMillis: Long)(source)
Deprecated
Call postOnAnimationDelayed directly.
Causes the Runnable to execute on the next animation time step, after the specified amount of time elapses. The runnable will be run on the user interface thread.
This method can be invoked from outside of the UI thread only when this View is attached to a window.
Parameters
view
The view to post this Runnable to
action
The Runnable that will be executed.
delayMillis
The delay (in milliseconds) until the Runnable will be executed.